
#ifndef _BrepReader_H_
#define _BrepReader_H_

#include "ExchangeApi.hpp"
#include "../OLCore/AbstractFileReader.hpp"
#include "../OLApp/defines.hpp"


namespace NSExchange {

	class GeometryData;

	class EXCHANGEAPI BrepReaderTask :
		public NSCore::AbstractFileReader
	{
		Q_OBJECT
	public:
		BrepReaderTask(int id, QString filename) : NSCore::AbstractFileReader(id, filename) { };
		~BrepReaderTask() override {};
		void run() override;
		/*override*/
	public:
		inline QString className() override { return "BrepReaderTask"; };

	signals:
		void actionReadFinished(GeometryData* /*item*/);
		void actionProgressChanged(int /*progress*/);

	private:
		QList<int> m_ids;

	};

}

#endif

